package com.game.thrones.domain.webpage;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Transient;

import org.hibernate.validator.constraints.NotBlank;

import com.game.thrones.domain.SysEntity.SysEntityAuto;
//
//import io.swagger.annotations.ApiModelProperty;

/**
 * 
 * 
 * @Description:地方中心信息
 * 
 * 
 */
//@ApiModel
@Entity
@Table(name = "web_endemic")
public class WebEndemicDO extends SysEntityAuto implements Serializable {
	private static final long serialVersionUID = 1L;
//	@ApiModelProperty("图标")
	@NotBlank
	@Column(nullable = false, length = 128)
	private String img1; 
//	@ApiModelProperty("图片1路径")
	@Transient
	private String img1Url;
//	@ApiModelProperty("图片1尺寸")
	@Column(  length = 128)
	private String img1Size;


//	@ApiModelProperty("是否开通0未开通,1已开通")
	private Integer opened;

//	@ApiModelProperty("地方中心id")
	private Integer webEndemicId; 
//	@ApiModelProperty("地方中心名称")
	@Transient
	private String endemicName;

	public Integer getOpened() {
		return opened;
	}

	public void setOpened(Integer opened) {
		this.opened = opened;
	}

	public String getImg1() {
		return img1;
	}
	public void setImg1(String img1) {
		this.img1 = img1;
	}
	public String getImg1Url() {
		return img1Url;
	}
	public void setImg1Url(String img1Url) {
		this.img1Url = img1Url;
	}
 
	public Integer getWebEndemicId() {
		return webEndemicId;
	}
	public void setWebEndemicId(Integer webEndemicId) {
		this.webEndemicId = webEndemicId;
	}
	public String getEndemicName() {
		return endemicName;
	}
	public void setEndemicName(String endemicName) {
		this.endemicName = endemicName;
	}
	public String getImg1Size() {
		return img1Size;
	}

	public void setImg1Size(String img1Size) {
		this.img1Size = img1Size;
	}
	
}
